package knapsackProblem;
public class KnapsackItem extends Item  {

	private int id;

	public int getId() {
		return id;
	}

	public KnapsackItem(int id, int profit, int time) {
		super(profit, time);
		this.id = id;
	}
	
	public KnapsackItem(int id, Item item) {
		super(item);
		this.id = id;
	}
}